package com.eportal.dao;

import com.eportal.domain.Sysopt;
import com.eportal.entity.TCommunityMsgEntity;
import com.eportal.vo.controller.background.communitymsg.TCommunityMsgVO;
import com.framework.jqgrid.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCommunityMsgEntityMapper extends MyMapper<TCommunityMsgEntity> {

    /**
     * 公告通知列表
     * @author Saber
     * @Date 2017/8/22 下午1:50
     * @param user          当前用户
     * @param userRole      当前用户userRole
     * @return
     */
    List<TCommunityMsgVO> quertForList(@Param("user") Sysopt user, @Param("userRole") int userRole);
}
